package com.quick.develop.business.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 环境监测阈值配置
 *
 * @author GJH 1906559468@qq.com
 * @since 1.0.0 2024-01-27
 */

@Data
@TableName("environmental_monitoring_configuration")
public class EnvironmentalMonitoringConfigurationEntity {
	/**
	* ID
	*/
	@TableId
	@ExcelProperty(value = "ID")
	@Schema(name = "ID")
	private String id;

	/**
	* 业务主键
	*/
	@ExcelProperty(value = "业务主键")
	@Schema(name = "业务主键")
	private String businessKey;

	/**
	* 附件ID
	*/
	@ExcelProperty(value = "附件ID")
	@Schema(name = "附件ID")
	private String attachId;

	/**
	* 数据来源
	*/
	@ExcelProperty(value = "数据来源")
	@Schema(name = "数据来源")
	private String dataSource;

	/**
	* 监测采集点
	*/
	@ExcelProperty(value = "监测采集点")
	@Schema(name = "监测采集点")
	private String deviceLocation;

	/**
	* 红灯下限计算条件
	*/
	@ExcelProperty(value = "红灯下限计算条件")
	@Schema(name = "红灯下限计算条件")
	private String redLightCondition;

	/**
	* 红灯下限
	*/
	@ExcelProperty(value = "红灯下限")
	@Schema(name = "红灯下限")
	private BigDecimal redLightLimit;

	/**
	* 黄灯下限计算条件
	*/
	@ExcelProperty(value = "黄灯下限计算条件")
	@Schema(name = "黄灯下限计算条件")
	private String yellowLightCondition;

	/**
	* 黄灯下限
	*/
	@ExcelProperty(value = "黄灯下限")
	@Schema(name = "黄灯下限")
	private BigDecimal yellowLightLimit;

	/**
	* 绿灯下限计算条件
	*/
	@ExcelProperty(value = "绿灯下限计算条件")
	@Schema(name = "绿灯下限计算条件")
	private String greenLightCondition;

	/**
	* 绿灯下限
	*/
	@ExcelProperty(value = "绿灯下限")
	@Schema(name = "绿灯下限")
	private BigDecimal greenLightLimit;

	/**
	* 是否开启报警
	*/
	@ExcelProperty(value = "是否开启报警")
	@Schema(name = "是否开启报警")
	private String alarmStatus;

	/**
	* 是否开启预警
	*/
	@ExcelProperty(value = "是否开启预警")
	@Schema(name = "是否开启预警")
	private String earlyWarnStatus;

	/**
	* 连续上升N次后预警
	*/
	@ExcelProperty(value = "连续上升N次后预警")
	@Schema(name = "连续上升N次后预警")
	private Integer riseLimit;

	/**
	* 单位
	*/
	@ExcelProperty(value = "单位")
	@Schema(name = "单位")
	private String unit;

	/**
	* 备注
	*/
	@ExcelProperty(value = "备注")
	@Schema(name = "备注")
	private String remark;

	/**
	* 创建人工号
	*/
	@ExcelProperty(value = "创建人工号")
	@Schema(name = "创建人工号")
	private String createdUserCode;

	/**
	* 创建人姓名
	*/
	@ExcelProperty(value = "创建人姓名")
	@Schema(name = "创建人姓名")
	private String createdUserName;

	/**
	* 创建时间
	*/
	@ExcelProperty(value = "创建时间")
	@Schema(name = "创建时间")
	private Date createdTime;

	/**
	* 修改人工号
	*/
	@ExcelProperty(value = "修改人工号")
	@Schema(name = "修改人工号")
	private String updatedUserCode;

	/**
	* 修改人姓名
	*/
	@ExcelProperty(value = "修改人姓名")
	@Schema(name = "修改人姓名")
	private String updatedUserName;

	/**
	* 修改时间
	*/
	@ExcelProperty(value = "修改时间")
	@Schema(name = "修改时间")
	private Date updatedTime;

	/**
	* 删除标志
	*/
	@ExcelProperty(value = "删除标志")
	@Schema(name = "删除标志")
	private Boolean delFlag;

}